﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bot.Domain
{
    public class WebhookFieldsDto
    {
        public Guid Id { get; set; }
        public int SiteId { get; set; }
        public Guid IntentId { get; set; }
        public Guid EntityId { get; set; }
        [MaxLength(128)]
        public string EntityName { get; set; }
        [MaxLength(128)]
        public string FieldName { get; set; }
        public int FieldType { get; set; }
        public bool IsRequired { get; set; }
        public bool IsPrivacyProtection { get; set; }
        public int OrderId { get; set; }
        public List<WebhookFieldOptionsDto> WebhookFieldOptions { get; set; }
    }
}
